﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Newslist.ascx.cs" Inherits="UControl_Newslist" %>
<link href="css/font.css" rel="stylesheet" type="text/css" />
<table width="380px"  border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td background="img/titlebg.gif"><%=Subject %></td>
    <td background="img/titlebg.gif" align="right">
        <asp:LinkButton ID="btnmore" runat="server" CssClass="bt" 
            onclick="btnmore_Click">更多...</asp:LinkButton></td>
  </tr>
  <tr class="listfont">
    <td colspan="2" height="250" valign="top" width="100%">
        <asp:Repeater ID="rptnewslist" runat="server" 
            onitemcommand="rptnewslist_ItemCommand">
        <ItemTemplate>
        <table>
        <tr>
        <td><img src="img/img_u.gif" /><asp:LinkButton ID="btncheck" runat="server" CommandName="check" CommandArgument='<%#Eval("nid") %>'><%#Eval("nsubject") %><%#Eval("ndate") %></asp:LinkButton></td>
        </tr>
        </table>
        </ItemTemplate>
        </asp:Repeater>
    </td>
  </tr>
</table>